<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <style>
        .fa{
            background-color: pink;
            
            /* flex */
            display: flex;

            /* 主轴对齐方式 */
            /* 从起始开始，左对齐 */
            /* justify-content: flex-start; */
            /* 右对齐 */
            /* justify-content: flex-end; */
            /* 居中 */
            /* justify-content: center; */
            /* 两端均匀分布 */
            /* justify-content: space-between; */
            /* 均匀分布，两端留白 */
            /* justify-content: space-around; */
        }
        .fa div,.fa span{color: white;}
        .c1{background-color: red;}
        .c2{background-color: green;}
        .c3{
            background-color: blue;
            height: 100px;
            width: 100px;
        }
        .c4{
            background-color: purple;
        }
    </style>
    <div class="fa">
        <div class="c1">鲁肃</div>
        <div class="c2">马谡</div>
        <span class="c3">王平</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
        <span class="c4">华雄</span>
    </div>
</body>
</html>